package week05.day02;

/**
 * 获取数组中单个数据通过数组名[下标]进行获取
 * 数组的遍历：通过循环生成下标实现
 * for (数组下标开始;下标取值范围;下标更改){
 *     System.out.println([数组名]下标);
 * };
 */

public class 数组的遍历 {
    public static void main(String[] args) {

        int[] arr = {12,32,34,64,123,123,1245,124,1234,214};
        /**
        for (int i=0;i<=arr.length;i++){
            System.out.println(arr[i]);
        }
         */

    }
}
